# coding:utf-8

project = {'id': 1, 'name': 'ipad', 'price': 2200, 'count': 30}

keys = list(project.keys()) # 获取字典所有键
values = list(project.values()) # 获取字典所有值
print(keys)
print(values)

print('{} | {} | {} | {}'.format(keys[0], keys[1], keys[2], keys[3], ))
print('{}  | {} | {} | {}'.format(values[0], values[1], values[2], values[3], ))
